@inherits FshComponentBase
<MudSwitch T="bool"
           @bind-Checked="Checked"
           Color="@Color"
           Disabled="@Disabled"
           Class="fsh-switch"
           @attributes="AdditionalAttributes" />

@code {
    [Parameter] public bool Checked { get; set; }
    [Parameter] public EventCallback<bool> CheckedChanged { get; set; }
    [Parameter] public bool Disabled { get; set; }
    [Parameter] public Color Color { get; set; } = Color.Primary;
    [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object>? AdditionalAttributes { get; set; }
}
